//Outdoor Script for x = 2  y = 2

beginoutdoorscript;

variables;

int choice;

body;

beginstate INIT_STATE;
break;

beginstate START_STATE;
break;

beginstate 10;
if (get_flag(18,1) == 1 && get_flag(122,3) == 0) {
		message_dialog("The guards you come across are very alert, and they look at you suspiciously. When you greet them, they draw their weapons. You don't. Eventually they see you are no bad guys, and leave you.","The attack on the Empire HQ certainly stirred up the security here.");
		outdoor_enc_result(1);
		set_flag(122,3,1);
		end();
		}

if (get_flag(5,12) == 0 && get_flag(122,4) == 0) {
		message_dialog("You run across a small patrol of guards. They ask you to come closer to them.","_Their leader leans forward to you. _Let me give you some advice. Riverrod province is under attack. It is not wise to just move around like this. Go to safety, which is in the neighbouring province._ After that, the soldiers leave you.");
    	outdoor_enc_result(1);
	set_flag(122,4,1);
    	end();
    	}

if (get_flag(5,12) != 0 && get_flag(122,5) == 0) {
    	message_dialog("You pass these guards. They are very friendly, and greet you with pleasure. You wave and smile back. Both of you continue on your journey after having a small chat.","");
		outdoor_enc_result(1);
		set_flag(122,5,1);
		end();
		}
outdoor_enc_result(1);
break;

beginstate 11;
if (get_flag(122,1) == 1)
		end();
	message_dialog("This hill was made recently. The tower on top is, obviously, even newer. You can say a lot of things about the people in Riverrod, but they do care about their safety.","");
	set_flag(122,1,1);
break;